/**
 * output package name
 */
package com.kingdee.eas.xbang.impui;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.IntEnum;

/**
 * output class name
 */
public class ExceptionHandleEnum extends IntEnum
{
    public static final int ERROR0_VALUE = 0;
    public static final int ERROR5_VALUE = 5;
    public static final int ERROR10_VALUE = 10;
    public static final int ERROR50_VALUE = 50;
    public static final int FINISH_VALUE = 10000000;

    public static final ExceptionHandleEnum error0 = new ExceptionHandleEnum("error0", ERROR0_VALUE);
    public static final ExceptionHandleEnum error5 = new ExceptionHandleEnum("error5", ERROR5_VALUE);
    public static final ExceptionHandleEnum error10 = new ExceptionHandleEnum("error10", ERROR10_VALUE);
    public static final ExceptionHandleEnum error50 = new ExceptionHandleEnum("error50", ERROR50_VALUE);
    public static final ExceptionHandleEnum finish = new ExceptionHandleEnum("finish", FINISH_VALUE);

    /**
     * construct function
     * @param integer exceptionHandleEnum
     */
    private ExceptionHandleEnum(String name, int exceptionHandleEnum)
    {
        super(name, exceptionHandleEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static ExceptionHandleEnum getEnum(String exceptionHandleEnum)
    {
        return (ExceptionHandleEnum)getEnum(ExceptionHandleEnum.class, exceptionHandleEnum);
    }

    /**
     * getEnum function
     * @param String arguments
     */
    public static ExceptionHandleEnum getEnum(int exceptionHandleEnum)
    {
        return (ExceptionHandleEnum)getEnum(ExceptionHandleEnum.class, exceptionHandleEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(ExceptionHandleEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(ExceptionHandleEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(ExceptionHandleEnum.class);
    }
}